import request from "@/utils/request";
export function listBackups(query) {
  return request({
    url: "/archives/backups/list",
    method: "get",
    params: query,
  });
}

// 删除数据备份管理
export function delBackups(id) {
  return request({
    url: "/archives/backups/" + id,
    method: "delete",
  });
}

// 手动备份数据
export function addNewBackupsFile() {
  return request({
    url: "/archives/backups",
    method: "post",
  });
}
